from django.db import models
from summary.models import Summary
from danwei.models import Danwei
# Create your models here.


class Send(models.Model):  # 分送
    id = models.AutoField(primary_key=True)
    summary_id = models.ForeignKey(
        Summary, on_delete=models.CASCADE, related_name="send",blank=True, null=True
    )
    danwei_id = models.ForeignKey(
        Danwei, on_delete=models.CASCADE, related_name="send",blank=True, null=True
    )
